package com.huiminpay.merchant.covert;


import com.huiminpay.merchant.vo.PlatformChannelVo;
import com.huiminpay.transaction.dto.PlatformChannelDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface PlatformChannelCovert {
    PlatformChannelCovert INSTANCE = Mappers.getMapper(PlatformChannelCovert.class);


    PlatformChannelVo dto2vo(PlatformChannelDTO platformChannelDTO);
    PlatformChannelDTO vo2dto(PlatformChannelVo platformChannelVo);


    List<PlatformChannelVo> dto2voList(List<PlatformChannelDTO> platformChannelDTOS);
    List<PlatformChannelDTO> vo2dtoList(List<PlatformChannelVo> platformChannelVos);



}
